//
//  CreditCardListHeaderView.m
//  NewPro
//
//  Created by RYX on 2019/6/26.
//  Copyright © 2019 何荧红. All rights reserved.
//

#import "CreditCardListHeaderView.h"

@implementation CreditCardListHeaderView

- (instancetype)initWithFrame:(CGRect)frame{
    
    if (self = [super initWithFrame:frame]) {
        
        [self setUI];
    }
    
    return self;
}

- (void)setUI{
    
    UIImageView *im = [[UIImageView alloc] init];
    im.image = [UIImage imageNamed:@"creatCardBG_top"];
    [self addSubview:im];
    
    [im mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_equalTo(0);
    }];
}
@end
